import Http from "./http.js";

export const selectUniqueCodeById = (params) =>
  Http.send("get", "/uniqueCode/manage/selectUniqueCodeById", params);
//获取百度语音token值
export const getAccessToken = (params) =>
  Http.send("get", "/common/getAccessToken", params);
//保存子任务
export const saveCookRead = (params) =>
  Http.send("post", "/codeRead/manage/saveCookRead", params);

export const readTime = (params) =>
  Http.send("post", "/codeRead/manage/saveCodeRead", params);